package com.scpii.universal.pns.entity;

import java.sql.Timestamp;

/**
 * EcOrders entity. @author MyEclipse Persistence Tools
 */

public class EcOrders implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -3832387630697728930L;
	private Long id;
	private String orderSn;
	private Long appId;
	private Long userId;
	private Double totalPrice;
	private Short orderStatus;
	private Short shipStatus;
	private Short payStatus;
	private Timestamp createDt;
	private String createBy;
	private Timestamp updateDt;
	private String updateBy;
	private String note;
	private String shipType;
	private String shipSn;
	private Long deviceId;
	private String userIpAddress;
	private Short paymentType;
	private Long paymentId;
	private String title;
	private String addressLine;
	private String phoneNumber;

	// Constructors

	/** default constructor */
	public EcOrders() {
	}

	/** minimal constructor */
	public EcOrders(String orderSn, Long appId, Long userId, Double totalPrice,
			Short orderStatus, Short shipStatus, Short payStatus) {
		this.orderSn = orderSn;
		this.appId = appId;
		this.userId = userId;
		this.totalPrice = totalPrice;
		this.orderStatus = orderStatus;
		this.shipStatus = shipStatus;
		this.payStatus = payStatus;
	}

	/** full constructor */
	public EcOrders(String orderSn, Long appId, Long userId, Double totalPrice,
			Short orderStatus, Short shipStatus, Short payStatus,
			Timestamp createDt, String createBy, Timestamp updateDt,
			String updateBy, String note, String shipType, String shipSn,
			Long deviceId, String userIpAddress, Short paymentType,
			Long paymentId, String title, String addressLine, String phoneNumber) {
		this.orderSn = orderSn;
		this.appId = appId;
		this.userId = userId;
		this.totalPrice = totalPrice;
		this.orderStatus = orderStatus;
		this.shipStatus = shipStatus;
		this.payStatus = payStatus;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.note = note;
		this.shipType = shipType;
		this.shipSn = shipSn;
		this.deviceId = deviceId;
		this.userIpAddress = userIpAddress;
		this.paymentType = paymentType;
		this.paymentId = paymentId;
		this.title = title;
		this.addressLine = addressLine;
		this.phoneNumber = phoneNumber;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public Long getAppId() {
		return this.appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Double getTotalPrice() {
		return this.totalPrice;
	}

	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Short getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Short orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Short getShipStatus() {
		return this.shipStatus;
	}

	public void setShipStatus(Short shipStatus) {
		this.shipStatus = shipStatus;
	}

	public Short getPayStatus() {
		return this.payStatus;
	}

	public void setPayStatus(Short payStatus) {
		this.payStatus = payStatus;
	}

	public Timestamp getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(Timestamp createDt) {
		this.createDt = createDt;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Timestamp getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(Timestamp updateDt) {
		this.updateDt = updateDt;
	}

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getShipType() {
		return this.shipType;
	}

	public void setShipType(String shipType) {
		this.shipType = shipType;
	}

	public String getShipSn() {
		return this.shipSn;
	}

	public void setShipSn(String shipSn) {
		this.shipSn = shipSn;
	}

	public Long getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public String getUserIpAddress() {
		return this.userIpAddress;
	}

	public void setUserIpAddress(String userIpAddress) {
		this.userIpAddress = userIpAddress;
	}

	public Short getPaymentType() {
		return this.paymentType;
	}

	public void setPaymentType(Short paymentType) {
		this.paymentType = paymentType;
	}

	public Long getPaymentId() {
		return this.paymentId;
	}

	public void setPaymentId(Long paymentId) {
		this.paymentId = paymentId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAddressLine() {
		return this.addressLine;
	}

	public void setAddressLine(String addressLine) {
		this.addressLine = addressLine;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

}